package com.yunnuo.monitor.job.entity;

import com.yunnuo.system.comm.entity.IdEntity;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * @author 魏洪福（15064000912@163.com）
 * @create 2018-09-25-13:39
 */
@Entity
@Table(name="SYSMON_JOBLOG")
public class MonJobLog extends IdEntity {

    /**
     * 执行任务id
     */
    private String taskId;

    /**
     * 执行任务名称
     */
    private String taskName;

    /**
     * 执行任务方法
     */
    private String method;

    /**
     * 执行任务策略
     */
    private String operation;

    /**
     * 状态
     */
    private String  status;

    /**
     * 日志信息
     */
    private String message;

    /**
     * 创建时间
     */
    private Date createTime;

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public String getOperation() {
        return operation;
    }

    public void setOperation(String operation) {
        this.operation = operation;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
